<!-- <script setup>
import MyButton from '@/components/8.8MyButton.vue'
const handleClick = () => {
  console.log('Button clicked')
}
</script>

<template>
  <MyButton class="large">属性传递</MyButton> -->
<!-- <MyButton @click="handleClick">事件监听传递</MyButton> -->
<!-- <MyButton class="large" mytext="props我的文本">属性传递</MyButton>
</template> -->

<script setup>
import MyButton from "@/components/chapter08/base/8.8MyButton.vue";
</script>

<template>
  <MyButton>属性传递</MyButton>
</template>

<style scoped>
.large {
  font-size: 2rem;
}
</style>
